package com.example.demo02.dao;

import com.example.demo02.dto.CouponSumSimpleInfo;
import com.example.demo02.dto.ShopCouponQryInfo;
import com.example.demo02.form.ShopCouponForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopCouponMapper {
    List<ShopCouponQryInfo> getShopCouponListByPage(ShopCouponForm shopCouponForm);

    CouponSumSimpleInfo getUsedSumByOrderids(@Param("orderids") List<String> orderids);

    CouponSumSimpleInfo getGrantExpSumByOrderids(@Param("orderids")List<String> orderids);
}
